//
// Created by Tony on 2024/5/19.
//

#ifndef LEXER_EOF_TOKEN_H
#define LEXER_EOF_TOKEN_H

#include "Token.h"

namespace Lexer {

class EofToken final : public Token {
public:
    explicit EofToken() : Token({}) {}

    TokenType type() override { return TokenType::EOF_T; }

    string toString() override { return "eof"; }
};

} // namespace Lexer

#endif // LEXER_EOF_TOKEN_H
